package com.itetchologyandenglish.home.service;

import com.itetchologyandenglish.home.enetity.Auth;
import com.itetchologyandenglish.home.enetity.Roles;

import java.util.List;

public interface RoleService {
    List<Roles> getRoleList();
    Roles getRolesIdByRoleName(String roleName);
    List<Auth> getUserRoleAuth(Integer roleId);
    boolean addRole(Integer roleId,String roleName);
    boolean deleteRole(Integer roleId);
}
